compile:
	gcc clienteServidorNivel1.c -o Cliente1
	gcc clienteServidorNivel2.c -o Cliente2 -lpthread
	gcc clienteServidorNivel3.c -o Cliente3 -lpthread
	gcc clienteServidorNivel4.c -o Cliente4 -lpthread
process:
	pstree -p | grep Cliente
clear:
	rm Cliente1
	rm Cliente2
	rm Cliente3
	rm Cliente4
	rm ./saidas/*.txt
clear_all:
	rm Cliente1
	rm Cliente2
	rm Cliente3
	rm Cliente4
	rm ./saidas/*.txt
	rm clienteServidorNivel1.c
	rm clienteServidorNivel2.c
	rm clienteServidorNivel3.c
	rm clienteServidorNivel4.c
teste1:
	ssh node1 './Cliente4 node8 node9 node10 node11 node12 node15 node16 node18 4234 > ./saidas/node1.txt &' &
	ssh node2 './Cliente3 node1 3234  > ./saidas/node2.txt &' &
	ssh node3 './Cliente3 node1 3235  > ./saidas/node3.txt &' &
	ssh node4 './Cliente2 node2 2234 > ./saidas/node4.txt &' &
	ssh node5 './Cliente2 node2 2235 > ./saidas/node5.txt &' &
	ssh node6 './Cliente2 node3 2234 > ./saidas/node6.txt &' &
	ssh node7 './Cliente2 node3 2235 > ./saidas/node7.txt &' &
	ssh node8 './Cliente1 node4 1234 > ./saidas/node8.txt &' &
	ssh node9 './Cliente1 node4 1235 > ./saidas/node9.txt &' &
	ssh node10 './Cliente1 node5 1234 > ./saidas/node10.txt &' &
	ssh node11 './Cliente1 node5 1235 > ./saidas/node11.txt &' &
	ssh node12 './Cliente1 node6 1234 > ./saidas/node12.txt &' &
	ssh node15 './Cliente1 node6 1235 > ./saidas/node15.txt &' &
	ssh node16 './Cliente1 node7 1234 > ./saidas/node16.txt &' &
	ssh node18 './Cliente1 node7 1235 > ./saidas/node18.txt &' &
	
